import { httpRequest } from "@/utils/https.js"
import {baseUrl} from "@/utils/basic.js"
//问答列表
export const indexAllAskList = (page,pagesize,keyword) =>
	httpRequest(baseUrl+'index.php?m=api&c=wxapp&a=indexAllAskList', {
		page,
		pagesize,
        keyword
	},'get')
//问答列表其他列表
export const ListByIndexAsk = (page,pagesize) =>
	httpRequest(baseUrl+'index.php?m=api&c=wxapp&a=otherListByIndexAsk', {
        page,
        pagesize
	},'get')	
//问答详情  
export const askDetails = (id) =>
	httpRequest(baseUrl+'index.php?m=api&c=wxapp&a=askDetails', {
		id
	},'get')   